home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / oops / r3flist.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.9 KB  |  87 lines

  1.  
  2. // JavaScript wrapper for r3flist.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_FLIST_H = 1;
  7. include("oops/r3osgdgt.js")
  8.  
  9.  
  10. var R3CLID_FILELIST = 7;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Sent when contents of the file list has changed
  16.  
  17. R3FLM_REFRESH = 7000;
  18.  
  19. function mR3FLM_REFRESH() {
  20.   DoA(this.r3obj, 7000, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23.  
  24.  
  25.  
  26. R3FLA_Directory = 7500;
  27. function SetR3FLA_Directory(value) {
  28.   R3Set(this.r3obj, R3FLA_Directory, value, R3TID_STRING, 0); 
  29. }
  30.  
  31. function GetR3FLA_Directory() {
  32.   return R3Get(this.r3obj, R3FLA_Directory, R3TID_STRING, 0); 
  33. }
  34.  
  35. R3FLA_Pattern = 7501;
  36. function SetR3FLA_Pattern(value) {
  37.   R3Set(this.r3obj, R3FLA_Pattern, value, R3TID_STRING, 0); 
  38. }
  39.  
  40. function GetR3FLA_Pattern() {
  41.   return R3Get(this.r3obj, R3FLA_Pattern, R3TID_STRING, 0); 
  42. }
  43.  
  44. R3FLA_File = 7502;
  45. function SetR3FLA_File(value) {
  46.   R3Set(this.r3obj, R3FLA_File, value, R3TID_STRING, 0); 
  47. }
  48.  
  49. function GetR3FLA_File() {
  50.   return R3Get(this.r3obj, R3FLA_File, R3TID_STRING, 0); 
  51. }
  52.  
  53. R3FLA_Action = 7503;
  54. function SetR3FLA_Action(value) {
  55.   R3Set(this.r3obj, R3FLA_Action, value, R3TID_INTEGER, 0); 
  56. }
  57.  
  58. function GetR3FLA_Action() {
  59.   return R3Get(this.r3obj, R3FLA_Action, R3TID_INTEGER, 0); 
  60. }
  61.  
  62. var R3FLACTION_GETLOADFILENAME = 0;
  63. var R3FLACTION_GETSAVEFILENAME = 1;
  64. var R3FLACTION_GETDIRECTORY = 2;
  65.  
  66.  
  67. function r3Filelist () { 
  68.    this.base = r3God;
  69.    if(arguments.length) {
  70.       this.base(R3CLID_FILELIST, arguments);
  71.    }
  72.    // Methods
  73.    this.REFRESH=mR3FLM_REFRESH;
  74.  
  75.    // Attributes
  76.    this.GetDirectory=GetR3FLA_Directory;
  77.    this.SetDirectory=SetR3FLA_Directory;
  78.    this.GetPattern=GetR3FLA_Pattern;
  79.    this.SetPattern=SetR3FLA_Pattern;
  80.    this.GetFile=GetR3FLA_File;
  81.    this.SetFile=SetR3FLA_File;
  82.    this.GetAction=GetR3FLA_Action;
  83.    this.SetAction=SetR3FLA_Action;
  84. }
  85.  
  86. r3Filelist.prototype=new r3Gadget;
  87. // r3flist.h_H